<? $this->load->view("header", $header); ?>
<div class="home">
    <div class="content">
        <article>
            <div class="title-bar">
                <h1><?= $articulo->title ?></h1>
            </div>
            <? $this->load->view("articulo/video", $articulo); ?>
            <div style="margin:25px 0px 25px 0px;">
                <? $this->load->view("articulo/share", array("url" => BASE_URL . "/articulo/" . $articulo->id)); ?>
            </div>
            <div class="fb-comments" data-href="<?= BASE_URL ?>/articulo/<?= $articulo->id ?>" data-num-posts="4" data-width="630"></div>
        </article>
    </div>
    <div class="side">
        <div class="publicidadboxbanner1" style="margin-bottom: 10px;">
            <?= (isset($publicidadboxbanner1->adsense)) ? $publicidadboxbanner1->adsense : ""; ?> 
        </div>
        <div class="publicidadboxbanner2">
            <?= (isset($publicidadboxbanner2->adsense)) ? $publicidadboxbanner2->adsense : ""; ?> 
        </div>
    </div>
</div>
<? $this->load->view("video/relacionados", $relacionados); ?>
<div class="ads">
    <div style="float: left;">
        <?= (isset($publicidadfooterleft->adsense)) ? $publicidadfooterleft->adsense : ""; ?> 
    </div>
    <div style="float: left;margin-left: 20px;">
        <?= (isset($publicidadfooterright->adsense)) ? $publicidadfooterright->adsense : ""; ?>
    </div>
</div>
<? $this->load->view("footer"); ?>